﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace RVEAd.Controls
{
    public partial class DailyStatusControl : UserControl
    {
        public DailyStatusControl()
        {
            InitializeComponent();
        }

        public void SetData(Business.Model.DaySummaryModel dailySummary)
        {
            lblClient.Text = dailySummary.ClientName;
            lblSpot.Text = dailySummary.SpotName;
            lblPlanLuna.Text = dailySummary.PlanMonth;
            lblPlanContract.Text = dailySummary.PlanContract;
            lblPlanZi.Text = dailySummary.PlanDay;
            lblAM1.Text = dailySummary.PlanAM1;
            lblAM2.Text = dailySummary.PlanAM2;
            lblAM3.Text = dailySummary.PlanAM3;
            lblPM1.Text = dailySummary.PlanPM1;
            lblPM2.Text = dailySummary.PlanPM2;
        }

    }
}
